package cn.tedu.xzs.admin.questionmanagement.dao.persist.repository;

import cn.tedu.xzs.admin.questionmanagement.pojo.entity.Question;
import cn.tedu.xzs.admin.questionmanagement.pojo.vo.QuestionVO;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.github.pagehelper.PageInfo;

public interface QuestionRepository {
    int addNew(Question question);
    Long getLatestQuestionId();
    Question getTypeById(Long id);
    PageInfo<QuestionVO> getQuestionVOPage(Integer pageNum,Integer pageSize);
}
